cmd_i2c: Use ARRAY_SIZE instead of reinventing it
authorAxel Lin <[email protected]>
Sat, 22 Jun 2013 13:56:35 +0000 (21:56 +0800)
committerHeiko Schocher <[email protected]>
Tue, 23 Jul 2013 06:34:57 +0000 (08:34 +0200)
commitcfb25cc40e6cb0f59f751bfb452bba8be8873ee7
treec140240300de2c9a3503665d4f4b85ccdbb3b234
parent67bfae36fa365f911fa258b44eb65ca29d1bad03
cmd_i2c: Use ARRAY_SIZE instead of reinventing it

Signed-off-by: Axel Lin <[email protected]>
Acked-by: Simon Glass <[email protected]>
common/cmd_i2c.c